Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CreditMemo migration #112

Merged
merged 2 commits into from
Feb 7, 2019
Merged

Fix CreditMemo migration #112

merged 2 commits into from
Feb 7, 2019

Conversation

Zales0123
Copy link
Member

There were some problems, it was incomplete and wrongly configured... so I've created it one more time from scratch, it should work fine :)

@Zales0123 Zales0123 requested a review from a team as a code owner February 7, 2019 12:59
@Zales0123 Zales0123 added the Bug Confirmed bugs or bugfixes. label Feb 7, 2019
@GSadee GSadee merged commit 8028dcf into Sylius:master Feb 7, 2019
@GSadee
Copy link
Member

GSadee commented Feb 7, 2019

Thank you, Mateusz! 🥇

@Zales0123 Zales0123 deleted the fix-migrations branch February 7, 2019 14:24
GSadee added a commit that referenced this pull request Feb 7, 2019
This PR was merged into the 1.0-dev branch.

Discussion
----------

Based on #112

Even though we've been providing migrations with this plugin for a long time, we didn't use them in a Travis CI configuration. And it was a mistake - it resulted in having them out-dated from time to time... and we could not be 100% sure they work 💃 

I've copied migration files from `Sylius-Standard` to make it possible to set up a database with `doctrine:migrations:migrate` rather than `doctrine:schema:create`. And of course it kind of unnecessary code in a `tests/Application`, but on the other hand, this test application should simulate a **Sylius-Standard** app which is using a `RefundPlugin`. And, as we know, each **Sylius-Standard** app is provided with a bunch of migrations inside 🐃 🏇 

Commits
-------

168b447 Use migrations in Travis CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants